package com.jiantong.work.service;

import com.jiantong.work.model.VeterinaryDrugsReport;
import io.terminus.common.model.Response;

import java.util.Map;

/**
 * Created by mz03 on 2017/3/14.
 */
public interface VeterinaryDrugsReportWriteService {



    /**
     * 创建兽药记录新单据
     * @param veterinaryDrugsReport 单据对象
     * @return 主键 id
     */
    Response<Map<String,Object>> create(VeterinaryDrugsReport veterinaryDrugsReport,Integer toStatus);



    /**
     * 更新兽药记录的单据
     * @param veterinaryDrugsReport 单据对象
     * @return true or false
     */
    Response<Map<String,Object>> update(VeterinaryDrugsReport veterinaryDrugsReport,Integer toStatus);

    Boolean update (VeterinaryDrugsReport veterinaryDrugsReport);

    /*
     *添加新的写功能....
     */
}
